<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        #include ("/assets/common/meta.html")
        <title>$title | $messages.get("webapp.name")</title-->

        <link rel="stylesheet" type="text/css" media="all" href="/assets/css/simplicity/theme.css" />
        <link rel="stylesheet" type="text/css" media="print" href="/assets/css/simplicity/print.css" />
        ${headElements}
    </head>
<body>
    <div id="page">
        <div id="header" class="clearfix">
            #parse ("/assets/common/header.vm")
        </div>

        <div id="content" class="clearfix">
            <div id="main">
                <h1>$heading</h1>
                #parse(${path})
            </div>

            #*
            <c:set var="currentMenu" scope="request"><decorator:getProperty property="meta.menu"/></c:set>
            <c:if test="${currentMenu == 'AdminMenu'}">
            <div id="sub">
                <menu:useMenuDisplayer name="Velocity" config="cssVerticalMenu.vm" permissions="rolesAdapter">
                    <menu:displayMenu name="AdminMenu"/>
                </menu:useMenuDisplayer>
            </div>
            </c:if>
            *#
            <div id="nav">
                <div class="wrapper">
                    <h2 class="accessibility">Navigation</h2>
                    #parse ("/assets/common/menu.vm")
                </div>
                <hr/>
            </div><!-- end nav -->
        </div>

        <div id="footer" class="clearfix">
            #parse ("/assets/common/footer.vm")
        </div>
    </div>
    ${jsElements}
</body>
</html>
